using System;
using System.ComponentModel.DataAnnotations;

namespace StateManagement.Models {
  public abstract class Product {
    abstract public string Code { get; }

    [DataType(DataType.Currency)]
    public float Price { get; set; }
  }
}
